﻿/** TOTALCONFLICTSINROW CLASS
 * Author: Preeti Francis
 * User ID : pxfranci@scotty.cs.wichita.edu
 * WSU ID: S578F746
 * Course: CS771 
 * Sem: S2014
 * 
 * Description of Class : As the name suggests, this is a data structure represents the total 
 * number of conflicts for a particular column and a particular row. The hash code property has 
 * been provided for efficient randomization.
 * **/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NQueenPuzzle
{
    class TotalConflictsInRow
    {
        public int RowNumber { get; set; }

        public int Conflicts { get; set; }

        //Induce randomization using hashing. Everytime the object changes a new hash code is generated. 
        //This ensures a high efficiency random value generation.
        public int HashCode { get { return this.GetHashCode(); } }
    }
}
